package com.momo.seckilling.dao;

import com.momo.seckilling.entity.ProductDetail;
import com.momo.seckilling.mapper.ProductDetailMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by li on 2019/2/2.
 */
@Component
public class ProductDetailDao {

    @Autowired
    private ProductDetailMapper productDetailMapper;

    public void saveProductDetail(ProductDetail productDetail){
        productDetailMapper.saveProductDetail(productDetail);
    }
}
